/**
 * 判断该方法是否存在
*/
const debug = {
    proxyWindowError () {
        let that = this;
        let w_error = window.onerror;
    }
}

window.onerror = function(msg, url, line, col, error){
    console.log(msg, url, line, col, error);
    $.ajax({})
}